<!DOCTYPE html>
<html lang="en">
  <head>
    <title>PostgresError Enumeration Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset='utf-8'>
	<meta name="viewport" content="width=device-width, viewport-fit=cover, initial-scale=1.0" />
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Enum/PostgresError" class="dashAnchor"></a>
    <a title="PostgresError Enumeration Reference"></a>
    <header>
      <div class="content-wrapper">
        <p>
          <a href="../index.html">PostgresClientKit Docs</a>
          <span class="no-mobile"> (100% documented)</span>
        </p>
    
        <p class="header-right">
          <a href="https://github.com/codewinsdotcom/PostgresClientKit">
            <img src="../img/gh.png"/>
            <span class="no-mobile">View on GitHub</span>
          </a>
        </p>
    
      </div>
    </header>
    <div id="breadcrumbs-container">
      <div class="content-wrapper">
        <p id="breadcrumbs">
          <span class="no-mobile">
            <a href="../index.html">PostgresClientKit Reference</a>
            <img id="carat" src="../img/carat.png" />
          </span>
          PostgresError Enumeration Reference
        </p>
      </div>
    </div>
    <div class="wrapper">
      <div class="article-wrapper">
        <article class="main-content">
          <section>
            <section class="section">
              <h1>PostgresError</h1>
                <div class="declaration">
                  <div class="language">
                    <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">PostgresError</span> <span class="p">:</span> <span class="kt">Error</span></code></pre>

                  </div>
                </div>
              <p>Errors thrown by PostgresClientKit.</p>

            </section>
            <section class="section task-group-section">
              <div class="task-group">
                <ul>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO35cleartextPasswordCredentialRequiredyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/cleartextPasswordCredentialRequired" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO35cleartextPasswordCredentialRequiredyA2CmF">cleartextPasswordCredentialRequired</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The Postgres server requires a <code>Credential.cleartextPassword</code> for authentication.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">cleartextPasswordCredentialRequired</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO26columnMetadataNotAvailableyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/columnMetadataNotAvailable" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO26columnMetadataNotAvailableyA2CmF">columnMetadataNotAvailable</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p><code><a href="../Classes/Cursor.html#/s:17PostgresClientKit6CursorC7columnsSayAA14ColumnMetadataVGSgvp">Cursor.columns</a></code> is nil, indicating column metadata is not available.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">columnMetadataNotAvailable</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO16connectionClosedyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/connectionClosed" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO16connectionClosedyA2CmF">connectionClosed</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>An attempt was made to operate on a closed connection.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">connectionClosed</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO20connectionPoolClosedyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/connectionPoolClosed" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO20connectionPoolClosedyA2CmF">connectionPoolClosed</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>An attempt was made to operate on a closed connection pool.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">connectionPoolClosed</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO12cursorClosedyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/cursorClosed" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO12cursorClosedyA2CmF">cursorClosed</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>An attempt was made to operate on a closed cursor.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">cursorClosed</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO21invalidParameterValueyACSS_SSSaySSGtcACmF"></a>
                      <a name="//apple_ref/swift/Element/invalidParameterValue(name:value:allowedValues:)" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO21invalidParameterValueyACSS_SSSaySSGtcACmF">invalidParameterValue(name:value:allowedValues:)</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The Postgres server has a parameter set to a value incompatible with PostgresClientKit.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="nf">invalidParameterValue</span><span class="p">(</span><span class="nv">name</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">value</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">allowedValues</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span><span class="p">])</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO21invalidUsernameStringyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/invalidUsernameString" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO21invalidUsernameStringyA2CmF">invalidUsernameString</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The specified username does not meet the SCRAM-SHA-256 requirements for a username.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">invalidUsernameString</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO21invalidPasswordStringyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/invalidPasswordString" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO21invalidPasswordStringyA2CmF">invalidPasswordString</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The specified password does not meet the SCRAM-SHA-256 requirements for a password.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">invalidPasswordString</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO29md5PasswordCredentialRequiredyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/md5PasswordCredentialRequired" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO29md5PasswordCredentialRequiredyA2CmF">md5PasswordCredentialRequired</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The Postgres server requires a <code>Credential.md5Password</code> for authentication.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">md5PasswordCredentialRequired</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO29scramSHA256CredentialRequiredyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/scramSHA256CredentialRequired" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO29scramSHA256CredentialRequiredyA2CmF">scramSHA256CredentialRequired</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The Postgres server requires a <code>Credential.scramSHA256</code> for authentication.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">scramSHA256CredentialRequired</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO06serverD0yACSS_tcACmF"></a>
                      <a name="//apple_ref/swift/Element/serverError(description:)" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO06serverD0yACSS_tcACmF">serverError(description:)</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The Postgres server reported an internal error or returned an invalid response.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="nf">serverError</span><span class="p">(</span><span class="nv">description</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO06socketD0yACs0D0_p_tcACmF"></a>
                      <a name="//apple_ref/swift/Element/socketError(cause:)" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO06socketD0yACs0D0_p_tcACmF">socketError(cause:)</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>A network error occurred in communicating with the Postgres server.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="nf">socketError</span><span class="p">(</span><span class="nv">cause</span><span class="p">:</span> <span class="kt">Error</span><span class="p">)</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO03sqlD0yAcA6NoticeV_tcACmF"></a>
                      <a name="//apple_ref/swift/Element/sqlError(notice:)" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO03sqlD0yAcA6NoticeV_tcACmF">sqlError(notice:)</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The Postgres server reported a SQL error.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="nf">sqlError</span><span class="p">(</span><span class="nv">notice</span><span class="p">:</span> <span class="kt"><a href="../Structs/Notice.html">Notice</a></span><span class="p">)</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO03sslD0yACs0D0_p_tcACmF"></a>
                      <a name="//apple_ref/swift/Element/sslError(cause:)" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO03sslD0yACs0D0_p_tcACmF">sslError(cause:)</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>An error occurred in establishing SSL/TLS encryption.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="nf">sslError</span><span class="p">(</span><span class="nv">cause</span><span class="p">:</span> <span class="kt">Error</span><span class="p">)</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO15sslNotSupportedyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/sslNotSupported" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO15sslNotSupportedyA2CmF">sslNotSupported</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The Postgres server does not support SSL/TLS.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">sslNotSupported</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO15statementClosedyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/statementClosed" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO15statementClosedyA2CmF">statementClosed</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>An attempt was made to operate on a closed statement.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">statementClosed</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO27timedOutAcquiringConnectionyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/timedOutAcquiringConnection" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO27timedOutAcquiringConnectionyA2CmF">timedOutAcquiringConnection</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The request for a connection failed because a connection was not allocated before the
request timed out.</p>
<div class="aside aside-see-also">
    <p class="aside-title">See also</p>
    <code><a href="../Structs/ConnectionPoolConfiguration.html#/s:17PostgresClientKit27ConnectionPoolConfigurationV21pendingRequestTimeoutSiSgvp">ConnectionPoolConfiguration.pendingRequestTimeout</a></code>

</div>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">timedOutAcquiringConnection</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO29tooManyRequestsForConnectionsyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/tooManyRequestsForConnections" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO29tooManyRequestsForConnectionsyA2CmF">tooManyRequestsForConnections</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The request for a connection failed because the request backlog was too large.</p>
<div class="aside aside-see-also">
    <p class="aside-title">See also</p>
    <code><a href="../Structs/ConnectionPoolConfiguration.html#/s:17PostgresClientKit27ConnectionPoolConfigurationV22maximumPendingRequestsSiSgvp">ConnectionPoolConfiguration.maximumPendingRequests</a></code>

</div>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">tooManyRequestsForConnections</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO23trustCredentialRequiredyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/trustCredentialRequired" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO23trustCredentialRequiredyA2CmF">trustCredentialRequired</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The Postgres server requires a <code><a href="../Enums/Credential.html#/s:17PostgresClientKit10CredentialO5trustyA2CmF">Credential.trust</a></code> for authentication.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">trustCredentialRequired</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO29unsupportedAuthenticationTypeyACSS_tcACmF"></a>
                      <a name="//apple_ref/swift/Element/unsupportedAuthenticationType(authenticationType:)" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO29unsupportedAuthenticationTypeyACSS_tcACmF">unsupportedAuthenticationType(authenticationType:)</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The authentication type required by the Postgres server is not supported by
PostgresClientKit.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="nf">unsupportedAuthenticationType</span><span class="p">(</span><span class="nv">authenticationType</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO015valueConversionD0yAcA0A5ValueV_ypXptcACmF"></a>
                      <a name="//apple_ref/swift/Element/valueConversionError(value:type:)" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO015valueConversionD0yAcA0A5ValueV_ypXptcACmF">valueConversionError(value:type:)</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The value could not be converted to the requested type.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="nf">valueConversionError</span><span class="p">(</span><span class="nv">value</span><span class="p">:</span> <span class="kt"><a href="../Structs/PostgresValue.html">PostgresValue</a></span><span class="p">,</span> <span class="nv">type</span><span class="p">:</span> <span class="kt">Any</span><span class="o">.</span><span class="k">Type</span><span class="p">)</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                  <li class="item">
                    <div>
                      <code>
                      <a name="/s:17PostgresClientKit0A5ErrorO10valueIsNilyA2CmF"></a>
                      <a name="//apple_ref/swift/Element/valueIsNil" class="dashAnchor"></a>
                      <a class="token" href="#/s:17PostgresClientKit0A5ErrorO10valueIsNilyA2CmF">valueIsNil</a>
                      </code>
                    </div>
                    <div class="height-container">
                      <div class="pointer-container"></div>
                      <section class="section">
                        <div class="pointer"></div>
                        <div class="abstract">
                          <p>The value is <code>nil</code>.</p>

                        </div>
                        <div class="declaration">
                          <h4>Declaration</h4>
                          <div class="language">
                            <p class="aside-title">Swift</p>
                            <pre class="highlight swift"><code><span class="k">case</span> <span class="n">valueIsNil</span></code></pre>

                          </div>
                        </div>
                      </section>
                    </div>
                  </li>
                </ul>
              </div>
            </section>
          </section>
        </article>
      </div>
      <div class="nav-wrapper">
        <nav class="nav-bottom">
          <ul class="nav-groups">
            <li class="nav-group-name">
              <a href="../Classes.html">Classes</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="../Classes/Connection.html">Connection</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/ConnectionPool.html">ConnectionPool</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/ConsoleLogHandler.html">ConsoleLogHandler</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/Cursor.html">Cursor</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/Logger.html">Logger</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Classes/Statement.html">Statement</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="../Enums.html">Enumerations</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="../Enums/Credential.html">Credential</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Enums/LogLevel.html">LogLevel</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Enums/PostgresError.html">PostgresError</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="../Extensions.html">Extensions</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="../Extensions/Bool.html">Bool</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Extensions/Date.html">Date</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Extensions/Decimal.html">Decimal</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Extensions/Double.html">Double</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Extensions/Int.html">Int</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Extensions/Optional.html">Optional</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Extensions/String.html">String</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="../Protocols.html">Protocols</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="../Protocols/ConnectionDelegate.html">ConnectionDelegate</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Protocols/LogHandler.html">LogHandler</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Protocols/PostgresValueConvertible.html">PostgresValueConvertible</a>
                </li>
              </ul>
            </li>
            <li class="nav-group-name">
              <a href="../Structs.html">Structures</a>
              <ul class="nav-group-tasks">
                <li class="nav-group-task">
                  <a href="../Structs/ColumnMetadata.html">ColumnMetadata</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/ConnectionConfiguration.html">ConnectionConfiguration</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/ConnectionPoolConfiguration.html">ConnectionPoolConfiguration</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/ConnectionPoolMetrics.html">ConnectionPoolMetrics</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/LogRecord.html">LogRecord</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/Notice.html">Notice</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/Postgres.html">Postgres</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/PostgresByteA.html">PostgresByteA</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/PostgresDate.html">PostgresDate</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/PostgresTime.html">PostgresTime</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/PostgresTimeWithTimeZone.html">PostgresTimeWithTimeZone</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/PostgresTimestamp.html">PostgresTimestamp</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/PostgresTimestampWithTimeZone.html">PostgresTimestampWithTimeZone</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/PostgresValue.html">PostgresValue</a>
                </li>
                <li class="nav-group-task">
                  <a href="../Structs/Row.html">Row</a>
                </li>
              </ul>
            </li>
          </ul>
        </nav>
      </div>
      <div class="footer-wrapper">
        <section id="footer">
          <p>Copyright 2019 David Pitfield and the PostgresClientKit contributors. Licensed under the Apache License, Version 2.0.</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.6</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </div>
    </div>
  </body>
</div>
</html>
